<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>记忆卡片游戏</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="game-container">
        <div class="game-header">
            <div class="game-info">
                <div class="timer">⏱️ <span id="time">00:00</span></div>
                <div class="moves">🔄 步数: <span id="moves">0</span></div>
            </div>
            <div class="special-cards">
                <button id="hint-card" class="special-btn">💡 提示卡</button>
                <button id="time-card" class="special-btn">⌛ 时间卡</button>
            </div>
        </div>
        <div id="game-board" class="game-board">
            <!-- 卡片将通过 JavaScript 动态生成 -->
        </div>
        <div class="game-controls">
            <button id="restart" class="control-btn">重新开始</button>
            <a href="index.html" class="control-btn">返回主页</a>
        </div>
    </div>
    <div id="win-modal" class="modal">
        <div class="modal-content">
            <h2>恭喜获胜！</h2>
            <p>用时: <span id="final-time">00:00</span></p>
            <p>步数: <span id="final-moves">0</span></p>
            <button id="play-again" class="control-btn">再玩一次</button>
            <a href="index.html" class="control-btn">返回主页</a>
        </div>
    </div>
    <script src="script.js"></script>
</body>
</html> 